Plotly Test

In [7]:
import plotly.graph_objects as go
import plotly
In [3]:
%matplotlib notebook
In [4]:
data = go.Scatter(
                    x=[1,2,3,4],
                    y=[1,2,3,4],
                    )
In [5]:
fig = go.Figure(data)
In [6]:
fig
In [13]:
fig_html = plotly.offline.plot(fig, output_type='div',auto_open=False)
In [14]:
from IPython.display import HTML
In [15]:
HTML(fig_html)
Out[15]:
In [ ]:
 

Comments

Comments powered by Disqus